/*
 * @Author       : wfl
 * @LastEditors  : wfl
 * @description  :
 * @updateInfo   :
 * @Date         : 2023-02-27 09:41:26
 * @LastEditTime : 2023-10-25 09:25:34
 */
import type { Settings } from '@g/types/global'

const globalSettings: Settings.all = {
  app: {
    enablePermission: true,
    enableDynamicTitle: true,
    enableErrorLog: true,
    theme: 'default',
    colorScheme: 'light',
    elementSize: 'default',
    defaultLang: 'zh-cn',
    enableProgress: true,
    storagePrefix: 'iking_',
    enableWatermark: false,
    routeBaseOn: 'backend',
    toggleAnimation: 'slide-fade'
  },
  layout: {
    enableMobileAdaptation: true,
    widthMode: 'adaption'
  },
  menu: {
    menuFillStyle: 'radius',
    menuActiveStyle: 'dot',
    enableSubMenuCollapseButton: true,
    switchMainMenuAndPageJump: true,
    showTopMenuIcon: false,
    enableHotkeys: true,
    subMenuUniqueOpened: true,
    baseOn: 'backend',
    menuMode: 'single',
    subMenuOnlyOneHide: false,
    subMenuCollapse: false
  },
  topbar: {
    mode: 'fixed',
    switchTabbarAndToolbar: true
  },
  tabbar: {
    enable: true,
    enableIcon: true,
    enableHotkeys: true,
    style: 'fashion',
    mergeTabsBy: ''
  },
  toolbar: {
    enableNotification: true,
    enableI18n: true,
    enableFullscreen: true,
    enablePageReload: true,
    enableColorScheme: true,
    enableAppSetting: true
  },
  breadcrumb: {
    style: '',
    enableMainMenu: true,
    enable: true
  },
  mainPage: {
    enableHotkeys: true,
    iframeCacheMax: 9,
    enableTransition: true,
    transitionMode: 'slide-right'
  },
  home: {
    enable: false,
    title: '主页'
  },
  navSearch: {
    enable: true,
    enableHotkeys: true
  },
  copyright: {
    enable: false,
    dates: '2020-2023',
    company: 'Iking-Admin',
    website: 'http://www.ikingtech.com/',
    beian: ''
  }
}

export default globalSettings
